EHR-based PHM